home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: actuary@nando.net@castle.nando.net (Bill McCarthy)
- Newsgroups: comp.lang.c
- Subject: Re: Small problem with C...
- Date: Sun, 14 Apr 1996 11:47:32 -0400
- Organization: Not so good, but I'm working on it ;-)
- Message-ID: <U4RcxUKSA+pG089yn@castle.nando.net>
- References: <4ko44f$jf2@venus.compulink.gr>
- NNTP-Posting-Host: grail2219.nando.net
-
- In article <4ko44f$jf2@venus.compulink.gr>,
- lonewolf@athena.compulink.gr (Costas Vlassis) put down for all to see:
-
- > Well I am taking my first steps with C on my Linux box with GCC
- >2.7.0...
- >
- > What I want to do is this :
- >
- >Make a matrix, 50 x 50 x 8
-
- I'm not sure what is your C question. You could start off with
-
- int matrix[50][50][8]; /* note portability problem */
-
- int main( void )
- {
- /* add your code here */
- return 0;
- }
-
- Your next step is to figure out how to work with rand() and srand().
- Post if you can't figure that out. But next time, post a small
- complete code sample.
-